library(magrittr) # pipes
library(dplyr) # data manipulation
library(mice) # data
library(lattice) # plotting - used for conditional plotting
library(ggplot2) # plotting
library(DAAG) # data sets and functions
library(caret) # confusion matrices
source("../../code/supportFunctions.R")
## Make ggplot backgrounds transparent:
theme_update(plot.background = element_rect(fill = "transparent", colour = NA))
knitr::opts_chunk$set(dev.args = list(bg = "transparent"),
dev = "svg",
warning = FALSE,
message = FALSE)